package com.lagou.utils;

import java.io.IOException;

public interface Derializer {
    /**
     * 二进制转换成java对象
     *
     * @param clazz
     * @param bytes
     * @param <T>
     * @return
     */

    <T> T derializer(Class<T> clazz, byte[] bytes) throws IOException;

}
